.class Les/ax$u;
.super Ljava/lang/Object;
.source "UIControllerImpl.java"

# interfaces
.implements Landroidx/appcompat/widget/SearchView$OnQueryTextListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/ax;->c(Landroid/view/Menu;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/ax;


# direct methods
.method constructor <init>(Les/ax;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/ax$u;->a:Les/ax;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onQueryTextChange(Ljava/lang/String;)Z
    .locals 2

    .line 1
    iget-object v0, p0, Les/ax$u;->a:Les/ax;

    invoke-virtual {v0}, Les/ax;->w()Z

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    iget-object v0, p0, Les/ax$u;->a:Les/ax;

    invoke-static {v0, p1}, Les/ax;->a(Les/ax;Ljava/lang/String;)Ljava/lang/String;

    .line 3
    iget-object v0, p0, Les/ax$u;->a:Les/ax;

    iget-object v0, v0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->o(Ljava/lang/String;)V

    return v1
.end method

.method public onQueryTextSubmit(Ljava/lang/String;)Z
    .locals 5

    .line 1
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "eseac"

    invoke-virtual {v0, v1}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/ax$u;->a:Les/ax;

    iget-object v0, v0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 3
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x1

    if-nez v2, :cond_1

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->W()Ljava/lang/String;

    move-result-object v2

    const-string v4, "all"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 4
    iget-object p1, p0, Les/ax$u;->a:Les/ax;

    iget-object p1, p1, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v0, 0x7f11052d

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return v3

    .line 5
    :cond_1
    iget-object v1, p0, Les/ax$u;->a:Les/ax;

    iget-object v1, v1, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->g(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 6
    iget-object p1, p0, Les/ax$u;->a:Les/ax;

    invoke-static {p1}, Les/ax;->i(Les/ax;)V

    .line 7
    iget-object p1, p0, Les/ax$u;->a:Les/ax;

    invoke-static {p1}, Les/ax;->c(Les/ax;)Landroidx/appcompat/widget/SearchView;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/appcompat/widget/SearchView;->clearFocus()V

    goto :goto_0

    .line 8
    :cond_2
    iget-object v0, p0, Les/ax$u;->a:Les/ax;

    iget-object v0, v0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->d(Ljava/lang/String;)V

    .line 9
    iget-object p1, p0, Les/ax$u;->a:Les/ax;

    invoke-static {p1, v3}, Les/ax;->b(Les/ax;Z)V

    :goto_0
    return v3
.end method
